package com.acvoli.shopping.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品SKU表
 * </p>
 *
 * @author jiuxiaosheng
 * @since 2020-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sp_product_sku")
public class ProductSku implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * SKU编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品ID
     */
    private Long productId;

    /**
     * 颜色
     */
    private String color;

    /**
     * 尺寸
     */
    private String size;


}
